<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<title>添加新的商品</title>
<body class="withvernav">
<div class="bodywrapper">
 {{include file='/public/leftmenu.tpl'}}
    <div class="centercontent">
    
       <div class="pageheader notab">
            <h1 class="pagetitle">添加新的仓库</h1>
            <span class="pagedesc"></span>
            <div class="menulist">
        		<ul class="profile_summary">
                        <li class="current"><a href="/oversea/warehouse">仓库设置</a></li>
                        
                    </ul>
               </div>
        </div><!--pageheader-->
        	
        <div id="contentwrapper" class="contentwrapper">
        	
        	<div id="basicform" class="subcontent">
					<form class="stdform stdform2"  id="theFrom" method="post" action="/oversea/savewarehouse">
                    	
                    	
                    	 <p>
                        	<label>仓库名称</label>
                            <span class="field">
                          <input type="text" name="name" id="name" class="width100" value="{{$detail.name}}" onBlur="getwarehousename()">
                                                   <span id="nameerr"></span>

                            </span>
                        </p>
                         <p>
                        	<label>国家</label>
                            <span class="field">
                          <input type="text" name="country" id="country" class="width200" value="{{$detail.country}}">
                            </span>
                        </p>
                          <p>
                        	<label>编码</label>
                            <span class="field">
                          <input type="text" name="code" id="code" class="width100" value="{{$detail.code}}">
                          <span id="costpriceerr"></span>
                            </span>
                        </p>
                          <p>
                        	<label>地址</label>
                            <span class="field">
                          <input type="text" name="address" id="address" class="width100" value="{{$detail.address}}">
                            </span>
                        </p>
                          <p>
                        	<label>城市	</label>
                            <span class="field">
                          <input type="text" name="city" id="city" class="width100" value="{{$detail.city}}">
                            </span>
                        </p>
                         <p>
                        	<label>州		</label>
                            <span class="field">
                          <input type="text" name="province" id="province" class="width100" value="{{$detail.province}}">
                            </span>
                        </p>
                         <p>
                        	<label>邮编	</label>
                            <span class="field">
                          <input type="text" name="zipcode" id="zipcode" class="width100" value="{{$detail.zipcode}}">
                            </span>
                        </p>
                         <p>
                        	<label>联系人	</label>
                            <span class="field">
                          <input type="text" name="contactperson" id="contactperson" class="width100" value="{{$detail.contactperson}}">
                            </span>
                        </p>
                         <p>
                        	<label>联系电话	</label>
                            <span class="field">
                          <input type="text" name="tel" id="tel" class="width100" value="{{$detail.tel}}">
                            </span>
                        </p>
                         <p>
                        	<label>工作时间</label>
                            <span class="field">
                          <input type="text" name="worktime" id="worktime" class="width100" value="{{$detail.worktime}}">
                            </span>
                        </p>
                       
                    
                       
                       
                       
                        
                        <p class="stdformbutton">
                        	<span >
                            <input type="hidden" name="id" value="{{$detail.id}}" id="id">
                            <button type="button" class="submit radius2" id="btn" onClick="saveproduct()">保存</button></span>
                        </p>
                    </form>
					
                    <br />

            </div><!--subcontent-->
            
            <!--subcontent-->
        
        </div><!--contentwrapper-->
        
	</div><!-- centercontent -->
    
    
</div><!--bodywrapper-->

</body>
</html>
